HTMLify
app.js
Views: 7 | Author: cody
const labels = document.querySelectorAll(".form-control label");
labels.forEach((label) => {
label.innerHTML = label.innerText
.split("")
.map((letter, idx) => `<span style="transition-delay:${idx * 50}ms">${letter}</span>`)
.join("");
});